package com.wtj.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtj.user.domain.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 菜单Mapper接口
 * @author wangt
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 根据用户ID查询权限标识
     * @param id 用户ID
     * @return 权限标识列表
     */
    List<String> selectPermsByUserId(@Param("id") Long id);
}